Do so by navigating to Repositories > New. Give your repo an informative name and a description, if you’d like. Initializing it with a README and a .gitignore is recommended.
Click on the green ‘Code’ button and copy the URL to your clipboard.
In RStudio, click on Project (top right hand corner) > New Project.